var IP92 = 'http://10.204.253.11:5200'// 92测试环境
var IP12 = 'http://10.204.253.12:8085'// 水务加
var IP1 = 'http://10.204.253.1:8086'// 和达
var IPHd80 = 'http://10.204.253.11:8080'// 92测试环境
// var IPHd172 = 'http://10.204.253.11:8081'
var IPHd172 = 'http://10.204.253.11:8081'
// var IPHd172 = 'http://192.168.1.204:8081'
// var IPHd172 = 'http://10.204.253.11:8080'
// var IPHd172 = 'http://172.204.253.11:8081'// 172测试环境
// var IP205 = 'http://192.168.110.204:8081'//liyanchao本地
var IPHd11 = 'http://10.204.253.11:8081'// 92测试环境

const url = {
  postConfiguration: IPHd172 + '/video/8111/api/v2/configuration', // 组态图
  postTrees: IPHd172 + '/video/8111/api/v2/video/trees', // 摄像点位
  postOpenChannelsPlayUrl: IPHd172 + '/video/8111/api/v2/video/getOpenChannelsPlayUrl',// 监控视频
  deviceList: IPHd172 + '/video/8111/api/open/api/v2/device/list',
  deviceMap: IPHd172 + '/RemoteMonitoring/deviceMap/list',
  devCode: IPHd172 + '/RemoteMonitoring/8111/api/open/api/v2/device/parameter/list',
  singleData: IPHd172 + '/RemoteMonitoring/8111/api/v2/device/single/data',
  // 今日取水/小时 192.168.110.204:8080
  waterIntaking: IPHd172 + '/kafka/RealTimeData',
  // 值班管理
  getListData: 'http://10.204.171.92:8080/ondsshifts/getlist',
  getByIdData: "http://10.204.171.92:8080/ondsshifts/getbyid",

  Overview: {
    "Overview": [
      {
        "name": "取水总量/日 414 万m³", //昨供水日总量
        "value": "22"
      },
      {
        "name": "供水总量/日 414 万m³", //取水日
        "value": "44"
      },
      {
        "name": "供水总量/月 414 万m³", //供水日
        "value": "33"
      },
      {
        "name": "供水总量/月 414 万m³", //供水月
        "value": "55"
      },
      // {
      //   "name": "waterSupplyM", //取水月
      //   "value": "66"
      // }
    ],
    "Proportion": [ // 水厂昨日供水量及占比数据
      {
        "value": 75562,
        "name": "民丰水厂",
        "percent": "7.92"
      },
      {
        "value": 75562,
        "name": "纯化水厂",
        "percent": "7.92"
      }
    ]
  },
  PlanTableList: '/api/cspm/cspnm/v1.0/dyprojectlistmanage_frm/extension/filter',//方案管理表
  DyCpLimit: '/api/cspm/cspnm/v1.0/dycplistlimit_frm/extension/filter',//控制点限制管理表
  DyCpAllManageTree: '/api/cspm/cspnm/v1.0/dycpmanagetypelist_frm/extension/query',//评估分析树图数据
  DyCpAllManageTable: '/api/cspm/cspnm/v1.0/dycpallmanagelist_frm/extension/filter',//评估分析站点名称列表数据
  DyprojectManageEdit: '/api/cspm/cspnm/v1.0/dyprojectcardmanage_frm',//评估分析方案管理增删改查接口
  DyprojectManageID: '/api/cspm/cspnm/v1.0/dyprojectcardmanage_frm/extension/retrieve',//评估分析方案id回显
  DyTableQuery: '/api/cspm/cspnm/v1.0/dyprojectlistmanage_frm/extension/filter',//查询接口
  DyTableDelete: '/api/cspm/cspnm/v1.0/dyprojectlistmanage_frm/service/delete',//查询接口
  AlarmRecord: '/api/cspm/cspnm/layermanager/v1.0/statistics/warninghistory',//报警记录
  DyWarningStabyHour: '/api/cspm/cspnm/layermanager/v1.0/statistics/warningstabyhour',//热力图报警数
  Dyretrieve: '/api/cspm/cspnm/v1.0/dyprojectcardmanage_frm/extension/retrieve',//新增
  // Dyexpressions:'/apps/cspm/cspnm/web/bo-dydigitaltwinfront/dyprojectlistmanage/expressions/form.manifest.json',//新增接口表达式
  DypostTable: '/api/cspm/cspnm/v1.0/dycpallmanagecard_frm',
  // 环境：水务加接口
  datafactory: IP12 + "/dmp-datafactory/api/dataset/getData",// 水厂日/月供水/水库弹窗信息

  // GIS管网，水厂点位 环境：92
  advancedAllList: '/api/cspm/cspnm/layermanager/v1.0/search/advanced/allList',
  // 报警分析统计
  statistics: '/api/cspm/cspnm/layermanager/v1.0/statistics/warningstatics',
  // 历史监测数据查询接口
  monitorhistory: '/api/cspm/cspnm/layermanager/v1.0/statistics/monitorhistory',
//新  新增接口 
  addTable:IPHd172+'/projectManage/add',
  //树图站点名称接口
  threesiteName:'/api/cspm/cspnm/v1.0/dycpallmanagelist_frm/extension/filter',

  //控制点限制管理编辑

  pointEdit:'/api/cspm/cspnm/v1.0/dycplistlimit_frm',
   
  
  // 分区供水接口-和达
  userAuth: IPHd80 + '/hd/user/auth.json', //获取登录权限Token
  gisInfo: IPHd80 + '/leak3/gisinfo.json', // 获取分区信息
  fqsQuery: IPHd80 + '/leak3/one_map/slcd/fqsl/query.json',// 分区日/月/年供水量
  addSiteLimit:IPHd172 + '/projectManage/addSiteLimit',//控制点限制管理新增
  addSiteupdate:IPHd172 + '/projectManage/update',//方案管理树回显
  delettable2:'/api/cspm/cspnm/v1.0/dycplistlimit_frm/service/delete',//控制点限制管理删除
  editTable2:'/api/cspm/cspnm/v1.0/dycplistlimit_frm/extension/retrieve',
  getSiteLimit: IPHd172 + '/projectManage/getSiteLimit',//控制点限制管理编辑列表回显
  updateSiteLimit: IPHd172 + '/projectManage/updateSiteLimit',//控制点新增修改       


  // 分区供水接口-92测试环境
  getToken: IPHd11 + '/subzone/getToken', //获取登录权限Token
  getSubzoneMessage: IPHd11 + '/subzone/getSubzoneMessage', // 获取分区信息
  getSubzoneData: IPHd11 + '/subzone/getSubzoneData',// 分区日/月/年供水量

  projectManageOrder:IPHd172 + '/projectManage/list', //方案；列表排序
  updateAllManage:IPHd172 + '/projectManage/updateAllManage' //方案管理编辑接口

}
export default url
